<template>
  <view class="flex">
    <!-- ref：唯一ref  timedown:开屏广告秒数  imageUrl：图片地址  advertClick：广告图点击 -->
    <!-- <cc-advertView ref="ccAdvert" :timedown="12" :imageUrl="imgUrl" @advertClick="advertClick" @hideAdvert="hideAdvert"></cc-advertView> -->
    <view class="loading-box">
      <u-loading-icon
        mode="circle"
        text="系统正在启动中..."
        blod
        custom-style="border-width:5px;"
        size="50rpx"
        inactive-color="var(--kui-color-theme)"
        vertical
      />
    </view>
  </view>
</template>
<script setup lang="ts">
// import { ref, reactive } from "vue";
import { onLoad } from "@dcloudio/uni-app";
onLoad(() => {
  uni.reLaunch({ url: import.meta.env.VITE_PAGE_HOME });
});
</script>
<style lang="scss" scoped>
.loading-box {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  ::v-deep .u-loading-icon__spinner--circle {
    border-width: 10px;
    margin-bottom: 10rpx;
  }
}
</style>
